frequency calculation

频率计算